package com.heima.model.user.dtos;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class RegisterDto {
    @ApiModelProperty(value = "用户名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "性别")
    private Boolean sex;

    /**
     * 0:普通用户
     * 1:自媒体人
     */
    @ApiModelProperty(value = "账户类型")
    private Boolean flag;
}
